package Navigation;

import java.io.BufferedReader;
import java.io.FileReader;

class IO {
	public static String[] getFileContent(String path){
    	String data = "";
    	try{
    		FileReader file = new FileReader(path);
    		BufferedReader reader = new BufferedReader(file);
    		String line = "";
    		while((line = reader.readLine()) != null){
    			data += line + "\n";
    		}
    	}catch(Exception e){
    		return null;
    	}
    	return data.split("\n");
    }
    
}
